package com.xnyzc.lhy.mis.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
*
* 客服操作订单记录
*
* @author cuixiaojian
* @since 2019-12-05
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaServiceOrderOperationRecord对象", description="客服操作订单记录")
public class OaServiceOrderOperationRecord implements Serializable {

private static final long serialVersionUID = 1L;

    @TableId(value="record_id", type = IdType.INPUT)
    private Long recordId;

    @ApiModelProperty(value = "操作人")
    private String operation;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "工单ID")
    private String worksheetId;

    @ApiModelProperty(value = "1-订单取消 2-关闭订单 3-乘客免单 4-订单改价 5-订单退款")
    private Integer operationType;

    @ApiModelProperty(value = "承担方")
    private String bearer;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    public static final String RECORD_ID = "record_id";

    public static final String OPERATION = "operation";

    public static final String ORDER_ID = "order_id";

    public static final String OPERATION_TYPE = "operation_type";

    public static final String WORKSHEET_ID = "worksheet_id";

    public static final String BEARER = "bearer";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
